<div class="new_mn">
        	<b class="spbg2 corner tl"></b>
    		<b class="spbg2 corner tr"></b>
    		<b class="spbg2 corner bl"></b>
    		<b class="spbg2 corner br"></b>
    		<div class="titlebar-smenu clearfix">
    			<a href="">All buyers</a>
    		</div>
<table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse;margin-left:10px;">
	<tr>
		<td height="20" width="20%" class="bbgg">
			<strong>Email</strong>
		</td>
		<td width="20%" class="bbgg">
			<strong>Purchased amount</strong>
		</td>						
		<td width="20%" class="bbgg">
			<strong>Commission</strong>
		</td>
		<td width="20%" class="bbgg">
			<strong>Time</strong>
		</td>
		<td width="20%" class="bbgg">
			<strong>Status</strong>
		</td>
	</tr>		
	<? foreach($this->orders as $v):?>						
	<tr bgcolor="#FFFFFF">
		<td height="20">
			<?php echo $v['username'];?>
		</td>
		<td>
			$<?php echo $v['money'];?>
		</td>
		<td>
			$<?php echo $v['money']/10;?>
		</td>					
		<td>
			<?php echo date('Y-m-d H:i:s', $v['add_time']);?>
		</td>
		
		<td>
			<?php if($v['iscomplete']==0):?>
				waiting
			<?php else:?>
			paid
			<?php endif;?>
		</td>
		
	</tr>
	<? endforeach;?>													
</table>
<br />

<div class="factory_page"><?php echo $this->pageLink;?></div>
<div style="clear: both"></div>


</div>